#include "Order_Item.h"
#include <iostream>
#include <sstream>

string Order_Item::display() const
{
	string disp = "\0";
	stringstream ss;
	
	ss << seat_id << " " << order_id << " " << menu_item_id << " " << prod_qty;
	disp = ss.str();
	/*disp += seat_id;
	disp += " ";
	disp += order_id;
	disp += " ";
	disp += menu_item_id;
	disp += " ";
	disp += prod_qty;
	
	cout << disp;*/
	return disp;
}
int Order_Item::get_sid() const
{ return seat_id; }
int Order_Item::get_oid() const
{ return order_id; }
int Order_Item::get_miid() const
{ return menu_item_id; }
int Order_Item::get_qty() const
{ return prod_qty; }